FROM registry.cn-hangzhou.aliyuncs.com/library/openjdk:8-jre-alpine
LABEL maintainer=me
ENV JAVA_ARGS="-Dfile.encoding=UTF8 -Duser.timezone=GMT+08"
ENV JAR_FILE="eureka-service.jar"
COPY ./eureka-service/${JAR_FILE} ./
EXPOSE 8888
CMD java -jar ${JAVA_ARGS} ${JAVA_OPTS} /${JAR_FILE}

